package com.ruoyi.common.core.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class MessageHolder<T> implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 发送者id */
    private Long userId;

    private T messageBody;
}
